<div id="basicListing">
  <h1>Editing event</h1>

  <% form_for(@event) do |f| %>
    <%= render :partial => 'form', :locals => { :f => f, :label_text => "Update"} %>
  <% end %>

  <%= link_to 'Show', @event %> |
  <%= link_to 'Back', :controller => :home, :action => :index %>
</div>